package day05;

import java.util.Scanner;

/**
 * @author yzh
 * @desc TODO
 * @date 2025/4/14
 */
public class Convert {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.print("请输入一个字符串：");
        String str = sc.next();
        String convertStr = str.substring(0, 1).toUpperCase()
                + str.substring(1).toLowerCase();
        System.out.println("转换过的字符串：" + convertStr);
    }
}
